package com.email.util;

import java.sql.SQLException;

import com.email.base.EmailAction;

public class FolderAction extends EmailAction {
	private static final long serialVersionUID = 1L;
	private FolderBean folder;

	public String display() throws SQLException{
		return INPUT;
	}

	public FolderBean getFolder() throws SQLException {
		folder = new FolderBean(-1, "test", FolderDao.getInstance().getChildrenArray(0, "test"));
		return folder;
	}

	public void setFolder(FolderBean folder) {
		this.folder = folder;
	}		
}
